This XFCN is sort of Shareware... If you use it for something, please send me a copy of the stack you used it in, so I can see what is being done with it. Either send it via the U.S. Snail, addressed to:
Richard P. Davis
49 Showers Dr. #227J
Mountain View, Ca. 94040
Or post it on GENIE and send a message addressed to MJOLLNIR, telling me the name of the stack and a little bit about it.
Please do NOT post this stack on CI$,
otherwise known as Compuserve...
If you frequent the MacInfo BBS in the San Francisco bay area, you can post your stack there instead of on GENIE, and send mail to RICHARD DAVIS there.
<<Click here to return to explanation>>
-- part contents for card part 8
----- text -----
GetPixel
-- part contents for card part 10
----- text -----
/*
GetPixel -- a sample HyperCard user-defined command in C.
*/
#include <Types.h>
#include <MemoryMgr.h>
#include <OSUtil.h>
#include <QuickDraw.h>
#include "XCmd.h"
pascal void main(paramPtr)
XCmdBlockPtr paramPtr;
{
short h, v;
Boolean x;
GrafPtr port;
Str31 str, res;
/* First param is horizontal pos. Convert it to a pascal string */